package com.wondersgroup.wuhan_demo.ui.fk;

import android.os.Bundle;
import android.widget.FrameLayout;

import com.wondersgroup.wuhan_demo.R;
import com.wondersgroup.wuhan_demo.base.BaseActivity;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class ScanIDCardActivity extends BaseActivity {
    protected static String idCard = "idCard";

    FrameLayout content;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_scan_idcard);
        ButterKnife.bind(this);
        content = findViewById(R.id.content);
        getSupportFragmentManager().beginTransaction().add(content.getId(), new ScanIDCardFragment()).addToBackStack(null).commit();

    }


    @Override
    public void onBackPressed() {
        super.onBackPressed();
        finish();
    }

    @OnClick(R.id.btnBack)
    public void onViewClicked() {
        finish();
    }
}
